package com.ym.soso.domain.param;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.soso.enums.PublishStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 健康科普对象 app_health_plate
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel(value = "健康科普-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class AppHealthPlateQueryParam {

	@ApiModelProperty("父级标签")
	private String parentTag;

	@ApiModelProperty("子标签")
	private String tag;

	@ApiModelProperty("标题")
	private String title;

	@ApiModelProperty("作者")
	private String author;

	@ApiModelProperty("状态 00未发布01已发布")
	@JsonSerialize(converter = PublishStatusEnum.Covert.class)
	private String publishStatus;

	@ApiModelProperty("搜索匹配度排序")
	private boolean keywordSort;

	@ApiModelProperty("ids")
	private Long[] ids;
}
